<?php
namespace app\common\model;

use think\Model;

class TermMap extends Model
{
    //相对关联反向获取队列信息
    public function termMuch()
    {
		return $this->belongsTo('TermMuch','term_much_id','term_much_id')->bind('term_much_type,term_much_info,term_much_parent,term_much_count,term_id,term');
	}
    
    //相对关联反向获取内容信息
	public function info()
    {
		return $this->belongsTo('Info','detail_id','info_id');
	}
}